/*文本格式化，超出范围，显示省略号*/
.text-overflow(@width: 100%, @display: block) {
  width: @width;
  display: @display;
  white-space: nowrap;
  -ms-text-overflow: ellipsis;
  text-overflow: ellipsis;
  overflow: hidden;
}

/*多行文本格式化，超出行数，显示省略号*/
.text-overflow-line(@line: 5) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: @line;
  overflow: hidden;
}